package com.ruleengine.worker.exception;

/**
 * @author lianghanwei on 2024/3/3
 */
public class ExceptionMsg {
    public static final String CHAIN_NOT_ENABLED = "Chain is not enabled.";

    public static final String CHAIN_RUNNER_DISABLED = "Chain runner is disabled.";

    public static final String CHAIN_RUNNER_START_FAILED = "Start chain runner failed.";

    public static final String CHAIN_RUNNER_STOP_FAILED = "Stop Chain runner failed.";

    public static final String CHAIN_RUNNER_PROCESS_FAILED = "Chain runner process item failed.";

    public static final String CHAIN_RUNNER_SCHEDULED_FAILED = "Chain runner scheduled failed";

    public static final String CHAIN_RUNNER_DISPATCH_FAILED = "Chain runner dispatch item failed.";

    public static final String UNSUPPORTED_RULE_TYPE = "Unsupported rule type";

    public static final String RULE_RUNNER_SUBMIT_FAILED = "Rule runner submit failed";

    public static final String UNSUPPORTED_CHAIN_BUFFER_TYPE = "Unsupported chain buffer type.";

    public static final String CHAIN_RUNNER_NOT_ALLOWED_CLOSE = "Chain runner is not allowed to close.";

    public static final String CHAIN_RUNNER_NOT_EXIST = "The specified chain runner is not exist.";

    public static final String CHAIN_RUNNER_EXIST = "The specified chain runner is exist.";

    public static final String NO_DEFAULT_RULE_RUNNER_FACTORY_FOUND = "No default rule runner factory found.";

    public static final String EMPTY_CHAIN_RULES = "Rule list is null nor empty";

    public static final String EMPTY_CHAIN_RELATIONS = "Relation list is null nor empty";

    public static final String INVALID_METADATA = "Invalid metadata";
}
